package fr.vvins.core.biz.user.dto;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;

import fr.vvins.core.biz.catalog.dto.ProductDtoInfo;
import fr.vvins.core.biz.catalog.dto.VigneronDtoInfo;
import fr.vvins.core.common.dto.BeanDtoImpl;
import fr.vvins.core.common.dto.annotation.Dto;
import fr.vvins.core.user.entity.UserComment;

/**
 * UserComment entity
 */
@Dto(name="UserComment", entity=UserComment.class)
public class UserCommentDto extends BeanDtoImpl implements Serializable {

	private static final long serialVersionUID = 5892738146802839374L;
	private UserDtoInfo user;
	private String title;
	private Date date;
	private ProductDtoInfo product;
	private VigneronDtoInfo vigneron;
	private String comment;
	private Set<UserRatingDtoInfo> ratings;

	public UserCommentDto() {
	}


	public UserDtoInfo getUser() {
		return user;
	}

	public void setUser(UserDtoInfo user) {
		this.user = user;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}


	public ProductDtoInfo getProduct() {
		return product;
	}


	public void setProduct(ProductDtoInfo product) {
		this.product = product;
	}


	public VigneronDtoInfo getVigneron() {
		return vigneron;
	}


	public void setVigneron(VigneronDtoInfo vigneron) {
		this.vigneron = vigneron;
	}


	public Set<UserRatingDtoInfo> getRatings() {
		return ratings;
	}


	public void setRatings(Set<UserRatingDtoInfo> ratings) {
		this.ratings = ratings;
	}


	public String getTitle() {
		return title;
	}


	public void setTitle(String title) {
		this.title = title;
	}

	
}
